projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa2993
)
Call eglot-eldoc-function after completion finishes
author
João Távora
<joaotavora@gmail.com>
Wed, 9 May 2018 21:28:29 +0000
(22:28 +0100)
committer
João Távora
<joaotavora@gmail.com>
Wed, 9 May 2018 22:12:42 +0000
(23:12 +0100)
* eglot.el (eglot-completion-at-point): Call
eglot-eldoc-function after completion finishes.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 0795bc3e8c9df4ce5393acdc9bab7b350653f499..d5eae031e08f755183e29d9fa8f22cf0ba8f8793 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1292,7
+1292,9
@@
DUMMY is ignored"
(lambda (items) (sort items (lambda (a b)
(string-lessp
(get-text-property 0 :sortText a)
- (get-text-property 0 :sortText b)))))))))
+ (get-text-property 0 :sortText b)))))
+ :exit-function
+ (lambda (_string _status) (eglot-eldoc-function))))))
(defvar eglot--highlights nil "Overlays for textDocument/documentHighlight.")